package com.ruoyi.house_sale.mapper;

import java.util.List;
import com.ruoyi.house_sale.domain.ExamMaster;

/**
 * 答卷题目Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public interface ExamMasterMapper 
{
    /**
     * 查询答卷题目
     * 
     * @param examid 答卷题目主键
     * @return 答卷题目
     */
    public ExamMaster selectExamMasterByExamid(Long examid);

    /**
     * 查询答卷题目列表
     * 
     * @param
     * @return 答卷题目集合
     */
    public List<ExamMaster> selectExamMasterList(Long reseachid);

    public List<ExamMaster> selectExamMaster(ExamMaster examMaster);
    /**
     * 新增答卷题目
     * 
     * @param examMaster 答卷题目
     * @return 结果
     */
    public int insertExamMaster(ExamMaster examMaster);

    public int add(ExamMaster examMaster);

    /**
     * 修改答卷题目
     * 
     * @param examMaster 答卷题目
     * @return 结果
     */
    public int updateExamMaster(ExamMaster examMaster);

    /**
     * 删除答卷题目
     * 
     * @param examid 答卷题目主键
     * @return 结果
     */
    public int deleteExamMasterByExamid(Long examid);

    /**
     * 批量删除答卷题目
     * 
     * @param examids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExamMasterByExamids(Long[] examids);

    public int selCountId(Long reseachid);

    public Long selectReseachIdByExamIds(Long[] examids);
    public int updateResult(ExamMaster examMaster);
}
